package com.ian.departmentmanager.test;

public class spiltString {

	public static void main(String[] args) {
		
		
		String s = new String("张三,zs0101");
		String a[] = s.split(",");
		System.out.println(a.length);
		System.out.println(a[0]);
		System.out.println(a[1]);
	}

}
